package reverse;

public class Sample {
	private int i;
	private String text = "paulo", text_reverse = "";
	
	public Sample() {
		for (i = text.length() - 1; i >= 0; i--) {  
			text_reverse += text.charAt(i);  
		}
		System.out.println(text_reverse);
	}
	
	public static void main(String[] args) {
		new Sample();
	}

}
